//
//  UIView+Gradient.h
//  SHShopping
//
//  Created by 坤鼎 on 2019/9/2.
//  Copyright © 2019 kunding. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (Gradient)

/**
 *  根据给定的颜色，设置按钮的渐变色
 *  @param colorArray     渐变颜色的数组
 */
- (UIView *)gradientViewColorArray:(NSArray *)colorArray pointArr:(NSArray *)pointArr;

@end

NS_ASSUME_NONNULL_END
